//
//  NightSingleton.m
//  SmileRead
//
//  Created by dllo on 15/8/29.
//  Copyright (c) 2015年 JIZ. All rights reserved.
//

#import "NightSingleton.h"

static NightSingleton *sing = nil;

@implementation NightSingleton

- (instancetype)init
{
    self = [super init];
    if (self) {
        _currentColor = [UIColor whiteColor];
    }
    return self;
}

//+ (UIColor *)changeColorWithColor:(UIColor *)color
//{
//    
//}


+ (instancetype)defineNightSingleton
{
    @synchronized(self)
    {
        if (!sing) {
            sing = [[NightSingleton alloc] init];
        }
    }
    return sing;
}


@end
